import { requests } from "../requests"

export const reqUpload = (data) => {
    return requests({
        url: "/video/upload/chunk",
        method: 'post',
        data: data
    })
}

export const reqUploadCheck = (data) => {
    return requests({
        url: "/video/upload/check",
        method: 'get',
        params: data
    })
}

export const reqChunkMerge = (data) => {
    return requests({
        url: "/video/chunk/merge",
        method: 'post',
        data: data
    })
}

export const reqConvertVideo = (data) => {
    return requests({
        url: "/video/convert/" + data,
        method: 'post',
    })
}

